package controllers;

import java.util.List;

import controllers.validation.REMSValidationController;
import play.mvc.Controller;

public class SensorConfig extends Controller{
	
    public static void sensors() {       
        List<models.SensorConfig> sensorConfigList = models.SensorConfig.findAll();
        render(sensorConfigList);
    }
    
    public static void startValidationJob() {
    	REMSValidationController validation = new REMSValidationController();
    	validation.startValidationJob();
    	sensors();
    }
}
